Post

Replies

Boosts

Views

Activity

Inference Provider crashed with 2:5
I am trying to create a slightly different version of the content tagging code in the documentation: https://developer.apple.com/documentation/foundationmodels/systemlanguagemodel/usecase/contenttagging In the playground I am getting an "Inference Provider crashed with 2:5" error. I have no idea what that means or how to address the error. Any assistance would be appreciated.
1
0
571
Jul ’25
Is it possible to save a screenshot of a preview in Xcode 14?
The the enhancements to Xcode Previews in Xcode 14 are very helpful. I just had a situation where I wanted to take a screen capture of a preview of a view. Is there a built-in way to do that from Xcode, similar to taking a screen capture of the simulator screen? I realize I can just use a system-level screen capture, but then I have to adjust the size of what I capture to the area of the view in the preview. It would be great to just be able to have a button or shortcut and have the correct area captured.
3
2
3.3k
Sep ’23
Inference Provider crashed with 2:5
I am trying to create a slightly different version of the content tagging code in the documentation: https://developer.apple.com/documentation/foundationmodels/systemlanguagemodel/usecase/contenttagging In the playground I am getting an "Inference Provider crashed with 2:5" error. I have no idea what that means or how to address the error. Any assistance would be appreciated.
Replies
1
Boosts
0
Views
571
Activity
Jul ’25
Is it possible to save a screenshot of a preview in Xcode 14?
The the enhancements to Xcode Previews in Xcode 14 are very helpful. I just had a situation where I wanted to take a screen capture of a preview of a view. Is there a built-in way to do that from Xcode, similar to taking a screen capture of the simulator screen? I realize I can just use a system-level screen capture, but then I have to adjust the size of what I capture to the area of the view in the preview. It would be great to just be able to have a button or shortcut and have the correct area captured.
Replies
3
Boosts
2
Views
3.3k
Activity
Sep ’23
Text with line numbers in TextKit 2
What is the recommended approach to rendering text with line numbers in TextKit 2?
Replies
3
Boosts
0
Views
3.1k
Activity
Dec ’21